<include file="header" />



				<div class="content-main">

					<div class="row">
						<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
							<div class="box bottom-main">
								<div class="info float-container">
									<div class="col-sm-12 bottom-title">
										<h3 class="text-uppercase">社团详情</h3>
										<h4 class="text-uppercase">mauris vitae erat</h4>
									</div>

									<div class="row">
										<div class="col-sm-12 col-md-10 contact_left">
											<form class="form-horizontal" method="post" action=>

												<input type="hidden" name="gid" value="{$groups.gid}">

												<div class="control-group">
													<label for="groupname" class=" control-label">社团名称</label>
													<div class="controls">
														<input type="text" class="form-control" id="groupname"
															name="groupname" placeholder="groupname"
															value="{$groups.groupname}">
													</div>
												</div>

												<div class="control-group">
													<label for="team" class="control-label">所在团队名</label>

													<div class="controls">
														<input type="team" class=" form-control " id="team"
															name="team" placeholder="team" value="{$groups.team}">
													</div>
												</div>

												<div class="control-group">
													<label for="intro" class=" control-label">介绍</label>
													<div class="controls">
														<input type="text" class="form-control" id="intro"
															name="intro" placeholder="intro" value="{$groups.intro}">
													</div>
												</div>


												<div class="control-group">
													<label for="image" class="control-label">Logo</label>
													<div class="controls">
														<img class="img-rounded" id="image"
															src="__PUBLIC__/Uploads/photo/{$groups.logo}"
															alt="no pic" width=150px; height=150px; />
													</div>
												</div>

												<div class="control-group">
													<label class="control-label">创立时间</label>
													<div class="controls">
														<input size="16" type="date" value="{$groups.regdate}"
															name="regdate">
													</div>

												</div>

												<input type="hidden" name="createtime" value="sysdate()">

												<div class="control-group">
													<label for="leader" class=" control-label">负责人学号</label>
													<div class="controls">
														<input type="text" class="form-control" id="leader"
															name="leader" placeholder="leader"
															value="{$groups.leader}">
													</div>
												</div>
									<br/>
											</form>
											
											<form method="post" action="joingroup">
										
											<input type=hidden name=gid value={$groups.gid}>
											<input type=hidden name=stunum value={$_SESSION['users']['stunum']}>
											<button type="submit"  class="btn btn-primary">申请加入</button>
											</form>
											
										</div>

									</div>

								</div>
								<p class="bottom-desc"></p>
								<hr />
								<div class="col-sm-12 location-main"></div>
							</div>
						</div>


						<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
							<div class="box bottom-main">
								<div class="info float-container">
									<div class="col-sm-12 bottom-title">
										<h3 class="text-uppercase">社团活动</h3>
										<h4 class="text-uppercase">mauris vitae erat</h4>
									</div>

									<div class="row">
										<div class="col-sm-12 col-md-12  contact_left">

											<table id="practices"
												class="table table-striped table-bordered dataTable">
												<thead>
													<tr>
														<td class="col-sm-2">活动名称</td>
														<td class="col-sm-1">活动时间</td>
														<td class="col-sm-1">操作</td>
													</tr>
												</thead>
												<tbody>

													<volist name="practices" id="pr">
													<tr>

														<td><a href="practiceInfo?pid={$pr.pid}">{$pr.name}</a></td>
														<td>{$pr.ptime}</td>
														<td>
															<div class="btn-group">
																<a class="btn btn-small dropdown-toggle"
																	data-toggle="dropdown" href="#"> 操作 <span
																	class="caret"></span>
																</a>
																<ul class="dropdown-menu pull-right">
																	<li><a href=""><i
																			class="icon-envelope"></i> 详情 </a></li>
																	<li><a href=""><i
																			class="icon-edit"></i> 报名 </a></li>
																</ul>
															</div>
														</td>
													</tr>
													</volist>
												</tbody>
											</table>

										</div>

									</div>

								</div>
								<p class="bottom-desc"></p>
								<hr>
								<div class="col-sm-12 location-main"></div>
							</div>

						</div>

					</div>

				</div>
				<!-- row -->



			</div>
			<!-- .content-main -->
		</div>
		<!-- .main-page -->
	</div>
	<!-- .row -->


	<include file="footer" />